package com.ydkj.a37e_mall.Classes.Model.Response;

import java.util.List;

/**
 * Created by hong on 2016/3/10.
 */
public class GetProvinceResp {


    /**
     * errno : 000
     * errmsg :
     * result : {"data":[{"id":"1","name":"北京市","code":"11"},{"id":"338","name":"天津市","code":"12"},{"id":"636","name":"河北省","code":"13"},{"id":"3102","name":"山西","code":"14"},{"id":"4670","name":"内蒙古自治区","code":"15"},{"id":"5827","name":"辽宁省","code":"21"},{"id":"7531","name":"吉林省","code":"22"},{"id":"8558","name":"黑龙江省","code":"23"},{"id":"10543","name":"上海市","code":"31"},{"id":"10808","name":"江苏省","code":"32"},{"id":"12596","name":"浙江省","code":"33"},{"id":"14234","name":"安徽省","code":"34"},{"id":"16068","name":"福建省","code":"35"},{"id":"17359","name":"江西省","code":"36"},{"id":"19280","name":"山东省","code":"37"},{"id":"21387","name":"河南省","code":"41"},{"id":"24022","name":"湖北省","code":"42"},{"id":"25579","name":"湖南省","code":"43"},{"id":"28240","name":"广东省","code":"44"},{"id":"30164","name":"广西壮族自治区","code":"45"},{"id":"31563","name":"海南省","code":"46"},{"id":"31929","name":"重庆市","code":"50"},{"id":"33007","name":"四川省","code":"51"},{"id":"37906","name":"贵州省","code":"52"},{"id":"39556","name":"云南省","code":"53"},{"id":"41103","name":"西藏自治区","code":"54"},{"id":"41877","name":"陕西省","code":"61"},{"id":"43776","name":"甘肃省","code":"62"},{"id":"45286","name":"青海省","code":"63"},{"id":"45753","name":"宁夏回族自治区","code":"64"},{"id":"46047","name":"新疆维吾尔自治区","code":"65"},{"id":"47493","name":"台湾省","code":"71"},{"id":"47494","name":"香港特别行政区","code":"81"},{"id":"47495","name":"澳门特别行政区","code":"82"}],"total_page":"","current_page":"","total":"","access_token":""}
     */

    private String errno;
    private String errmsg;
    private ResultEntity result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity {
        /**
         * data : [{"id":"1","name":"北京市","code":"11"},{"id":"338","name":"天津市","code":"12"},{"id":"636","name":"河北省","code":"13"},{"id":"3102","name":"山西","code":"14"},{"id":"4670","name":"内蒙古自治区","code":"15"},{"id":"5827","name":"辽宁省","code":"21"},{"id":"7531","name":"吉林省","code":"22"},{"id":"8558","name":"黑龙江省","code":"23"},{"id":"10543","name":"上海市","code":"31"},{"id":"10808","name":"江苏省","code":"32"},{"id":"12596","name":"浙江省","code":"33"},{"id":"14234","name":"安徽省","code":"34"},{"id":"16068","name":"福建省","code":"35"},{"id":"17359","name":"江西省","code":"36"},{"id":"19280","name":"山东省","code":"37"},{"id":"21387","name":"河南省","code":"41"},{"id":"24022","name":"湖北省","code":"42"},{"id":"25579","name":"湖南省","code":"43"},{"id":"28240","name":"广东省","code":"44"},{"id":"30164","name":"广西壮族自治区","code":"45"},{"id":"31563","name":"海南省","code":"46"},{"id":"31929","name":"重庆市","code":"50"},{"id":"33007","name":"四川省","code":"51"},{"id":"37906","name":"贵州省","code":"52"},{"id":"39556","name":"云南省","code":"53"},{"id":"41103","name":"西藏自治区","code":"54"},{"id":"41877","name":"陕西省","code":"61"},{"id":"43776","name":"甘肃省","code":"62"},{"id":"45286","name":"青海省","code":"63"},{"id":"45753","name":"宁夏回族自治区","code":"64"},{"id":"46047","name":"新疆维吾尔自治区","code":"65"},{"id":"47493","name":"台湾省","code":"71"},{"id":"47494","name":"香港特别行政区","code":"81"},{"id":"47495","name":"澳门特别行政区","code":"82"}]
         * total_page :
         * current_page :
         * total :
         * access_token :
         */

        private String total_page;
        private String current_page;
        private String total;
        private String access_token;
        private List<DataEntity> data;

        public String getTotal_page() {
            return total_page;
        }

        public void setTotal_page(String total_page) {
            this.total_page = total_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * id : 1
             * name : 北京市
             * code : 11
             */

            private String id;
            private String name;
            private String code;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }
        }
    }
}
